package activepieces;
import structs.*;

/**
 * Road
 */
public class Road extends PlayerStructure {
    private Vertex endLocation;

    public Road(Vertex beginning, Vertex end) {
        super(beginning);
        endLocation = end;
    }

    public Vertex[] getLocations() {
        Vertex[] locationArray = {location, endLocation};
        return locationArray;
    }

    @Override
    public Vertex getLocation() {
        return null;
    }
}
